package com.niiwoo.civet.account.dto.request;


import com.niiwoo.civet.account.enums.BillRemark3Enum;
import com.niiwoo.civet.account.enums.BillSecondSubjectEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Jaylin on 2017/11/7.
 */
@Getter
@Setter
@ToString
public class SaveBillDetailRequest implements Serializable {

    private static final long serialVersionUID = 7872827152177304044L;

    private BigDecimal amount;  //交易金额 必传

    private BillSecondSubjectEnum billSecondSubjectEnum;//账单二级科目枚举 必传

//    private String remark;

    private String remark2; //备注二,资金来源针对活动奖励,业务无需填充此字段 非必传

    private BillRemark3Enum billRemark3Enum; //活动略过此枚举 非必传,枚举内定义必须传,枚举未定义此业务无需传入此参数

    private Date backTime; //退回时间  非必传,与业务挂钩,例如:提现退回,投标退回等业务需要传入此字段

    private Integer currentPeriod; //当前期数：借款用户还款-投资用户收款必传此字段 非必传

    private String relationUserId;  //关联用户ID

    private Long relationAccountId;  //关联账户ID

}
